package com.lnkwe.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by lijing on 2016-09-22.
 */
@Controller
@RequestMapping()
public class IndexController {
    @RequestMapping("/")
    public String indexHome() {
        return "/index";
    }

    @RequestMapping("/index")
    public String index() {
        return "/index";
    }

    @RequestMapping("/index.html")
    public String indexh() {
        return "/index";
    }

    @RequestMapping("/login")
    public String login() {
        return "/login";
    }

    @RequestMapping("/register")
    public String register() {
        return "/register";
    }
}
